package org.cevinedit.editor.view.listeners;

import org.eclipse.jface.viewers.ISelectionChangedListener;
import org.eclipse.jface.viewers.SelectionChangedEvent;
import org.eclipse.jface.viewers.StructuredSelection;

import cevinedit.presentation.CevineditEditor;

public class CevineditManager implements ISelectionChangedListener {

	protected CevineditEditor _editor = null;
	
	public static CevineditManager i(CevineditEditor editor)
	{
		return new CevineditManager(editor);
	}
	
	public CevineditManager(CevineditEditor editor)
	{
		_editor = editor;
	}
	
	@Override
	public void selectionChanged(SelectionChangedEvent event) {
		// TODO Auto-generated method stub
		StructuredSelection selection = (StructuredSelection) event.getSelection();
		Object selected = selection.getFirstElement();
		

	}

}
